import Vue from "vue";
import Vuex from "vuex";
Vue.use(Vuex);

const store = new Vuex.Store({
  //存储 popupLeft
  state: {
    popup: true,
  },
  //   修改token状态
  mutations: {
    savePopup: (state, payload) => {
      state.popup = payload;
    },
  },
});
export default store;
